$(function () {
    $("#onlineCount").click(function () {
        $.get($.webPath() + "/portal/keepAlive", function (data) {
            $("#onlineCount").text(data);
        });

        $.window({
            title: "在线人员",
            width: 600,
            height: 500,
            cache: false,
            url: $.webPath() + "/main/onlineuser"
        });
    });
})